home *** CD-ROM | disk | FTP | other *** search
- goto graphics_menu
-
- item_01_go:
- bcdw SetTextVideoMode
- show console
- print "Microsoft Windows XP Setup...\n"
- bcdw boot \I386\setupldr.bin
- goto ixx_go_err
-
- item_02_go:
- bcdw SetTextVideoMode
- show console
- print "Offline NT Password & Registry Editor...\n"
- bcdw boot \images\BD050303.IMG
- goto ixx_go_err
-
- item_03_go:
- bcdw SetTextVideoMode
- show console
- print "Windows 98 Setup...\n"
- bcdw boot \images\setup98.img
- goto ixx_go_err
-
- item_04_go:
- bcdw SetTextVideoMode
- show console
- print "Spoustim BartPE...\n"
- bcdw boot \WNPE\setupldr.bin
- goto ixx_go_err
-
- item_05_go:
- bcdw SetTextVideoMode
- show console
- print "FreeDos...\n"
- bcdw boot \images\FREEDOS.IMG
- goto ixx_go_err
-
- item_06_go:
- bcdw SetTextVideoMode
- show console
- print "Konzola pro zotaveni Windows XP ...\n"
- bcdw boot \CMDC\setupldr.bin
- goto ixx_go_err
-
- item_07_go:
- bcdw SetTextVideoMode
- show console
- print "Debian Setup...\n"
- bcdw boot \images\MEMTEST.IMG
- goto ixx_go_err
-
- item_08_go:
- bcdw SetTextVideoMode
- show console
- print "Spoustim Knoppix...\n"
- bcdw boot \boot\isolinux\isolinux.bin
- goto ixx_go_err
-
- item_09_go:
- bcdw SetTextVideoMode
- show console
- print "Spoustim Memtest...\n"
- bcdw boot \images\MEMTEST.ISO
- goto ixx_go_err
-
- item_10_go:
- bcdw SetTextVideoMode
- show console
- print "xxxx...\n"
- bcdw boot \acronis\xxxx.iso
- goto ixx_go_err
-
- item_11_go:
- bcdw SetTextVideoMode
- show console
- print "xxxx...\n"
- bcdw boot \acronis\xxx.iso
- goto ixx_go_err
-
- item_12_go:
- bcdw SetTextVideoMode
- show console
- print "xxxx...\n"
- bcdw boot \acronis\xxx.iso
- goto ixx_go_err
-
-
- ixx_go_err:
- print "Error. Code: $BCDW_LastError\n"
- if $BCDW_LastError != 0x559F; then goto ixx_finish
- bcdw CheckForBCDW
- if $BCDW_ExitCode == 0; then goto ixx_finish
- print "DOS loaded by BCDW2 (bcdw2dos.ima) is needed...\n"
-
- ixx_finish:
- print "Press any key to return...\n"
- bcdw GetKey WaitKey
- goto graphics_menu
-
-
- graphics_menu:
-
- # SVGA modes
- bcdw SetGraphicsVideoMode 800 600 32
- if $BCDW_ExitCode == 0; then goto g_mode_ok
- bcdw SetGraphicsVideoMode 800 600 24
- if $BCDW_ExitCode == 0; then goto g_mode_ok
- bcdw SetGraphicsVideoMode 800 600 16
- if $BCDW_ExitCode == 0; then goto g_mode_ok
- bcdw SetGraphicsVideoMode 800 600 15
- if $BCDW_ExitCode == 0; then goto g_mode_ok
- bcdw SetGraphicsVideoMode 800 600 8
- if $BCDW_ExitCode == 0; then goto g_mode_ok
-
- # VGA modes
- bcdw SetGraphicsVideoMode 800 600 4
- if $BCDW_ExitCode == 0; then goto g_mode_ok
- bcdw SetGraphicsVideoMode 800 600 1
- if $BCDW_ExitCode == 0; then goto g_mode_ok
-
- # EGA modes
- # bcdw SetGraphicsVideoMode 640 320 4
- # if $BCDW_ExitCode == 0; then goto g_mode_ok
- # bcdw SetGraphicsVideoMode 640 320 1
- # if $BCDW_ExitCode == 0; then goto g_mode_ok
- # bcdw SetGraphicsVideoMode 640 200 4
- # if $BCDW_ExitCode == 0; then goto g_mode_ok
- # bcdw SetGraphicsVideoMode 320 200 4
- # if $BCDW_ExitCode == 0; then goto g_mode_ok
-
- # any graphics mode (1x1 monochrome or better)
- bcdw SetGraphicsVideoMode 1 1 1
- if $BCDW_ExitCode == 0; then goto g_mode_ok
-
- goto ixx_go_err
-
- g_mode_ok:
-
- bcdw ShowGif desktop.gif 0 0
- bcdw ShowGif Logo.gif 200 270 2
- #getkey
- bcdw ShowGif desktop.gif 0 0
- bcdw ShowGif window.gif 25 25
- bcdw ShowGif item_h.gif 40 70
- bcdw ShowGif help.gif 70 70
- bcdw ShowGif welcome.gif 40 130
- bcdw ShowGif choose.gif 60 160
-
- bcdw ShowGif Pfeil_n_p.gif 80 220
- bcdw ShowGif f1_a.gif 115 220
- bcdw ShowGif item_01.gif 155 220
-
- bcdw ShowGif Pfeil_n_p.gif 80 250
- bcdw ShowGif f2_n_a.gif 115 250
- bcdw ShowGif item_02.gif 155 250
-
- bcdw ShowGif Pfeil_n_p.gif 80 280
- bcdw ShowGif f3_n_a.gif 115 280
- bcdw ShowGif item_03.gif 155 280
-
- bcdw ShowGif Pfeil_n_p.gif 80 310
- bcdw ShowGif f4_n_a.gif 115 310
- bcdw ShowGif item_04.gif 155 310
-
- bcdw ShowGif Pfeil_n_p.gif 80 340
- bcdw ShowGif f5_n_a.gif 115 340
- bcdw ShowGif item_05.gif 155 340
-
- bcdw ShowGif Pfeil_n_p.gif 80 370
- bcdw ShowGif f6_n_a.gif 115 370
- bcdw ShowGif item_06.gif 155 370
-
- bcdw ShowGif Pfeil_n_p.gif 80 400
- bcdw ShowGif f7_n_a.gif 115 400
- bcdw ShowGif item_07.gif 155 400
-
- bcdw ShowGif Pfeil_n_p.gif 80 430
- bcdw ShowGif f8_n_a.gif 115 430
- bcdw ShowGif item_08.gif 155 430
-
- bcdw ShowGif Pfeil_n_p.gif 80 460
- bcdw ShowGif f9_n_a.gif 115 460
- bcdw ShowGif item_09.gif 155 460
-
- bcdw ShowGif Pfeil_n_p.gif 410 400
- bcdw ShowGif f10_n_a.gif 445 400
- bcdw ShowGif item_10.gif 490 400
-
- bcdw ShowGif Pfeil_n_p.gif 410 430
- bcdw ShowGif f11_n_a.gif 445 430
- bcdw ShowGif item_11.gif 490 430
-
- bcdw ShowGif Pfeil_n_p.gif 410 460
- bcdw ShowGif f12_n_a.gif 445 460
- bcdw ShowGif item_12.gif 490 460
-
- bcdw ShowGif item_x_n_a.gif 40 550
- bcdw ShowGif altf4.gif 80 550
-
- bcdw ShowGif item_x_n_a.gif 310 550
-
- # 30 seconds timeout
- bcdw ShowGif esc.gif 350 550 30
- if $BCDW_ExitCode == 0; then goto hdd_boot
- goto timeout
-
- item_01_active:
-
- timeout:
- bcdw ShowGif item_x_n_a.gif 310 550
- bcdw ShowGif f1_a.gif 115 220
- bcdw ShowGif f2_n_a.gif 115 250
- getkey
-
- if $lastKey == key[enter]; then goto item_01_go
- if $lastKey == key[up]; then goto item_esc_active
- if $lastKey == key[down]; then goto item_02_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_01_active
-
- item_02_active:
- #bcdw ShowGif item_n_a.gif 80 250 0
- bcdw ShowGif f1_n_a.gif 115 220
- bcdw ShowGif f2_a.gif 115 250
- bcdw ShowGif f3_n_a.gif 115 280
- getkey
- #bcdw ShowGif Pfeil_n_p.gif 80 250 0
-
- if $lastKey == key[enter]; then goto item_02_go
- if $lastKey == key[up]; then goto item_01_active
- if $lastKey == key[down]; then goto item_03_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_02_active
-
- item_03_active:
- #bcdw ShowGif item_n_a.gif 80 280 0
- bcdw ShowGif f2_n_a.gif 115 250
- bcdw ShowGif f3_a.gif 115 280
- bcdw ShowGif f4_n_a.gif 115 310
- getkey
- #bcdw ShowGif Pfeil_n_p.gif 80 280 0
-
- if $lastKey == key[up]; then goto item_02_active
- if $lastKey == key[enter]; then goto item_03_go
- if $lastKey == key[down]; then goto item_04_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_03_active
-
- item_04_active:
- #bcdw ShowGif item_n_a.gif 80 310 0
- bcdw ShowGif f3_n_a.gif 115 280
- bcdw ShowGif f4_a.gif 115 310
- bcdw ShowGif f5_n_a.gif 115 340
-
- getkey
- #bcdw ShowGif Pfeil_n_p.gif 80 310 0
- if $lastKey == key[up]; then goto item_03_active
- if $lastKey == key[enter]; then goto item_04_go
- if $lastKey == key[down]; then goto item_05_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_04_active
-
- item_05_active:
- bcdw ShowGif f4_n_a.gif 115 310
- bcdw ShowGif f5_a.gif 115 340
- bcdw ShowGif f6_n_a.gif 115 370
-
- getkey
- if $lastKey == key[up]; then goto item_04_active
- if $lastKey == key[enter]; then goto item_05_go
- if $lastKey == key[down]; then goto item_06_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_05_active
-
- item_06_active:
- bcdw ShowGif f5_n_a.gif 115 340
- bcdw ShowGif f6_a.gif 115 370
- bcdw ShowGif f7_n_a.gif 115 400
- getkey
- if $lastKey == key[up]; then goto item_05_active
- if $lastKey == key[enter]; then goto item_06_go
- if $lastKey == key[down]; then goto item_07_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_06_active
-
- item_07_active:
- bcdw ShowGif f6_n_a.gif 115 370
- bcdw ShowGif f7_a.gif 115 400
- bcdw ShowGif f8_n_a.gif 115 430
- getkey
- if $lastKey == key[up]; then goto item_06_active
- if $lastKey == key[enter]; then goto item_07_go
- if $lastKey == key[down]; then goto item_08_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_07_active
-
- item_08_active:
- bcdw ShowGif f7_n_a.gif 115 400
- bcdw ShowGif f8_a.gif 115 430
- bcdw ShowGif f9_n_a.gif 115 460
- getkey
- if $lastKey == key[up]; then goto item_07_active
- if $lastKey == key[enter]; then goto item_08_go
- if $lastKey == key[down]; then goto item_09_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_08_active
-
- item_09_active:
- bcdw ShowGif f8_n_a.gif 115 430
- bcdw ShowGif f9_a.gif 115 460
- bcdw ShowGif f10_n_a.gif 445 400
- getkey
- if $lastKey == key[up]; then goto item_08_active
- if $lastKey == key[enter]; then goto item_09_go
- if $lastKey == key[down]; then goto item_10_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_09_active
-
- item_10_active:
- bcdw ShowGif f9_n_a.gif 115 460
- bcdw ShowGif f10_a.gif 445 400
- bcdw ShowGif f11_n_a.gif 445 430
-
- getkey
- bcdw ShowGif Pfeil_n_p.gif 410 400
- if $lastKey == key[up]; then goto item_09_active
- if $lastKey == key[enter]; then goto item_10_go
- if $lastKey == key[down]; then goto item_11_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_10_active
-
- item_11_active:
- bcdw ShowGif f10_n_a.gif 445 400
- bcdw ShowGif f11_a.gif 445 430
- bcdw ShowGif f12_n_a.gif 445 460
- getkey
- if $lastKey == key[up]; then goto item_10_active
- if $lastKey == key[enter]; then goto item_11_go
- if $lastKey == key[down]; then goto item_12_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_11_active
-
- item_12_active:
- bcdw ShowGif f11_n_a.gif 445 430
- bcdw ShowGif f12_a.gif 445 460
- bcdw ShowGif item_x_n_a.gif 40 550
- getkey
- if $lastKey == key[up]; then goto item_11_active
- if $lastKey == key[enter]; then goto item_12_go
- if $lastKey == key[down]; then goto item_altf4_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_12_active
-
- item_altf4_active:
- bcdw ShowGif f12_n_a.gif 445 460
- bcdw ShowGif item_x_a.gif 40 550
- bcdw ShowGif item_x_n_a.gif 310 550
- getkey
- if $lastKey == key[up]; then goto item_12_active
- if $lastKey == key[enter]; then goto quit
- if $lastKey == key[down]; then goto item_esc_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_altf4_active
-
- item_esc_active:
- bcdw ShowGif f1_n_a.gif 115 220
- bcdw ShowGif item_x_a.gif 310 550
- bcdw ShowGif item_x_n_a.gif 40 550
- getkey
- if $lastKey == key[up]; then goto item_altf4_active
- if $lastKey == key[enter]; then goto hdd_boot
- if $lastKey == key[down]; then goto item_01_active
- if $lastKey == key[f1]; then goto item_01_go
- if $lastKey == key[f2]; then goto item_02_go
- if $lastKey == key[f3]; then goto item_03_go
- if $lastKey == key[f4]; then goto item_04_go
- if $lastKey == key[f5]; then goto item_05_go
- if $lastKey == key[f6]; then goto item_06_go
- if $lastKey == key[f7]; then goto item_07_go
- if $lastKey == key[f8]; then goto item_08_go
- if $lastKey == key[f9]; then goto item_09_go
- if $lastKey == key[f10]; then goto item_10_go
- if $lastKey == key[f11]; then goto item_11_go
- if $lastKey == key[f12]; then goto item_12_go
- if $lastKey == key[af4]; then goto quit
- if $lastKey == key[esc]; then goto hdd_boot
- goto item_esc_active
-
- hdd_boot:
- bcdw boot C:\
-
- quit:
- reboot cold